import BaseFlow from "../core/BaseFlow"
import fieldLoader from "@/lib/field/core/fieldLoader"
import FIELD_VALUE_TYPE from "@/lib/field/constants/commonConstants"
import JsonSeriType from "@/lib/field/base/JsonSeriType"

export default class TestFlow extends BaseFlow{
	static flowName ="测试节点";
	static flowType = "testFlow";
	constructor(code){
		super(TestFlow.flowName,code);
		let fgroups = [];
		let fg = fieldLoader.createFieldGroup("节点属性");
		fg.addField(fieldLoader.createField(FIELD_VALUE_TYPE.show.TEXT.code,"测试内容","content", "测试默认值"));
		fgroups.push(fg);
		super.init(fgroups);
		super.seriType = new JsonSeriType("TestFlow","flow");
	}
	
}